package com.bestcem.xm.openplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_openplatform_feishuaccessinfo")
public class OpenplatformFeishuaccessinfo extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 飞书企业识别码
     */
    @TableField(value = "tenant_key")
    private String tenantKey;

    /**
     * 临时授权token
     */
    @TableField(value = "tenant_access_token")
    private String tenantAccessToken;

    /**
     * 过期时间
     */
    @TableField(value = "expires_in")
    private Integer expiresIn;

    /**
     * token获取时间
     */
    @TableField(value = "start_time")
    private String startTime;
}